package com.tarena.lbs.business.pojo.query;


import com.tarena.lbs.base.protocol.pager.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

@EqualsAndHashCode(callSuper = true)
@Data
public class StoreQuery extends BasePageQuery implements Serializable {
    @ApiModelProperty(value = "门店名称", name = "storeName", example = "美食分店")
    private String storeName;
    @ApiModelProperty(value = "负责人电话", name = "storeHeadPhone", example = "29746753145")
    private String storeHeadPhone;

    @ApiModelProperty(value = "门店地址", name = "storeAddress", example = "[\"省\", \"市\", \"县\"]")
    private String[] storeAddress;

    @ApiModelProperty(value = "商家ID", name = "businessId", example = "1")
    private Integer businessId;

    @ApiModelProperty(value = "更新的时间区间的开始时间", name = "startingTime", example = "2023-11-02 17:12:40")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startingTime;
    @ApiModelProperty(value = "更新的时间区间的结束时间", name = "endTime", example = "2024-01-02 17:12:40")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty(value = "门店状态（是否启用）0 启用  -1禁用", name = "storeStatus", example = "0")
    private Integer storeStatus;
}